class Fruit:
    #def __init__(self,ori_color='green'):
    def __init__(self,ori_color):
        Fruit.color=ori_color
        #self.color=ori_color
        
    def harvest(self,harvest_color):
        print('Fruit is '+ Fruit.color +'.')
        print('Fruit is ripe')
        print('Fruit turn '+ harvest_color +'!')
        
class Apple(Fruit):
    def __init__(self):
        print('I am an apple..')
        self.harvest_color='red'
        super().__init__('blue')
        
    def harvest(self, harvest_color):
        print('apple is '+ Fruit.color +'.')
        print('apple is ripe')
        print('apple turn '+ harvest_color +'!')

class Orange(Fruit):
    def __init__(self):
        print('I am an orange..')
        self.harvest_color = 'orange'
        super().__init__('green')
        
    def harvest(self, harvest_color):
        print('orange is '+ Fruit.color +'.')
        print('orange is ripe')
        print('orange turn '+ harvest_color +'!')
        

apple = Apple()
apple.harvest(apple.harvest_color)
print()
orange = Orange()
orange.harvest(orange.harvest_color)
